<?php
/**
 * Created by : PhpStorm
 * User: DuFei
 * Date: 2020/7/30
 * Time: 14:34
 */

namespace app\models\response;



use app\models\BaseDto;

class RespUserNavList extends BaseDto
{
    private $menuList;

    private $permissions;

    /**
     * @return mixed
     */
    public function getMenuList()
    {
        return $this->menuList;
    }

    /**
     * @param mixed $menuList
     */
    public function setMenuList($menuList)
    {
        $this->menuList = $menuList;
    }

    /**
     * @return mixed
     */
    public function getPermissions()
    {
        return $this->permissions;
    }

    /**
     * @param mixed $permissions
     */
    public function setPermissions($permissions)
    {
        $this->permissions = $permissions;
    }

    /**
     * @return array|mixed|void
     */
    public function jsonSerialize()
    {
      return [
          "menuList"=>$this->getMenuList(),
          "permissions"=>$this->getPermissions()
      ];
    }

}
